Primal and Dual Encoding from Applications into Quantified Boolean Formulas
نویسنده
چکیده
Quantified Boolean Formulas (QBF) provide a good language for modeling many complex questions about deterministic systems, especially questions involving control of such systems and optimizing choices. However, translators typically have one set way to encode the description of a system and a property, or question about the system, often without distinguishing between the two. In many cases there are choices about encoding methods, and one method will be much easier for a particular solver. This paper shows how to encode a large class of problems into primal and dual versions with opposite answers, while avoiding the blow-up associated with a simple negation of the first encoding. The main point is that these encodings require knowledge of the underlying application; they are not automatic translations on a QBF. Trying to divide an arbitrary QBF into a system part and a property part is actually co-NP-hard. For proof of concept, primal and dual encodings were implemented for several problem families in QBFLIB. (The primal encodings were already in QBFLIB.) For leading publicly available QBF solvers, solving times often differed by factors over 100, between the primal and dual encoding of the same underlying problem. Therefore, running both encodings in parallel and stopping when one encoding is solved is an attractive strategy, even though CPU time on both processors is charged. For some families and some solvers, this strategy was significantly faster than running only the primal on all problems, or running only the dual on all problems. Implications for certificates are also discussed briefly.
منابع مشابه
Encoding Nested Boolean Functions as Quantified Boolean Formulas
In this paper, we consider the problem of compactly representing nested instantiations of propositional subformulas with different arguments as quantified Boolean formulas (QBF). We develop a generic QBF encoding pattern which combines and generalizes existing QBF encoding techniques for simpler types of redundancy. We obtain an equivalence-preserving transformation in linear time from the PSPA...
متن کاملAn Alternative Representation for QBF
Quantified Boolean formulas are a powerful representation that have been used to capture and solve a variety of problems in Artificial Intelligence. While most research has focused on quantified Boolean formulas in prenex normal form (QBF), we explore an alternative representation of quantified Boolean formulas, called Constrained Quantified Formulas (CQF). CQF allows for a more direct represen...
متن کاملQBF Encoding of Temporal Properties and QBF-Based Verification
SAT and QBF solving techniques have applications in various areas. One area of the applications of SAT-solving is formal verification of temporal properties of transition system models. Because of the restriction on the structure of formulas, complicated verification problems cannot be naturally represented with SAT-formulas succinctly. This paper investigates QBF-applications in this area, aim...
متن کاملParaconsistent Reasoning via Quantified Boolean Formulas, II: Circumscribing Inconsistent Theories
Through minimal-model semantics, three-valued logics provide an interesting formalism for capturing reasoning from inconsistent information. However, the resulting paraconsistent logics lack so far a uniform implementation platform. Here, we address this and specifically provide a translation of two such paraconsistent logics into the language of quantified Boolean formulas (QBFs). These formul...
متن کاملqbf2epr: A Tool for Generating EPR Formulas from QBF
We present the tool qbf2epr which translates quantified Boolean formulas (QBF) to formulas in effectively propositional logic (EPR). The decision problem of QBF is the prototypical problem for PSPACE, whereas EPR is NEXPTIME-complete. Thus QBF is embedded in a formalism, which is potentially more succinct. The motivation for this work is twofold. On the one hand, our tool generates challenging ...
متن کامل